package com.inool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.inool.model.Student;
import com.inool.model.dto.StudentDto;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {

    List<Student> getStudentsByCourseScheduleId(Long courseSchedueleId);
    List<StudentDto> getStudentsWithGradesByCourseScheduleId(Long courseSchedueleId);
}    